package com.luchao.back.mapper;

import com.luchao.back.pojo.FriendLinks;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FriendLinksMapper {

    List<FriendLinks> getFriendLinksByPage(@Param("startNum") int startNum, @Param("pageSize") int pageSize);

    long getFriendLinksCount();

    int checkFlinks(String flname);

    int addFlinks(FriendLinks friendLinks);

    int deleteFlinks(Integer flid);

    int batchDeleteFlinks(List<FriendLinks> friendLinks);
}
